package com.kevin.ms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 用户实体类
 *
 * @author Kevin Liu
 * @date 2020/1/5 21:11
 * @since 1.0
 */
@Data
@TableName("user")
public class User {

    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    private String name;
}
